/**
 * 我是租客路由
 *
 */
const tenant = [
  {
    name: 'houseOfConcern',
    path: '/houseOfConcern',
    meta: {
      title: '租客-关注的房源',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/houseOfConcern.vue'], resolve) }
  },
  {
    name: 'myReservationForRenter',
    path: '/myReservationForRenter',
    meta: {
      title: '租客-预约清单',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/myReservationForRenter.vue'], resolve) }
  },
  {
    name: 'lookHouseSchedule',
    path: '/lookHouseSchedule',
    meta: {
      title: '租客-看房日程',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/lookHouseSchedule.vue'], resolve) }
  },
  {
    name: 'payTheRent',
    path: '/payTheRent',
    meta: {
      title: '租客-待付账单',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/payTheRent.vue'], resolve) }
  },
  {
    name: 'myOrderForRenter',
    path: '/myOrderForRenter',
    meta: {
      title: '租客-我的订单',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/myOrderForRenter.vue'], resolve) }
  },
  {
    name: 'myContract',
    path: '/myContract',
    meta: {
      title: '租客-我的合同',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/myContract.vue'], resolve) }
  },
  {
    name: 'fzxq',
    path: '/fzxq',
    meta: {
      title: '租客-房租详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/fzxq.vue'], resolve) }
  },
  {
    name: 'tzxq',
    path: '/tzxq',
    meta: {
      title: '租客-退租详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/tzxq.vue'], resolve) }
  },
  {
    name: 'tzsq',
    path: '/tzsq',
    meta: {
      title: '租客-退租申请',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/tzsq.vue'], resolve) }
  },
  {
    name: 'xuzhu',
    path: '/xuzhu',
    meta: {
      title: '租客-续租',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/xuzhu.vue'], resolve) }
  },
  {
    name: 'xzxq',
    path: '/xzxq',
    meta: {
      title: '租客-续租详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/xzxq.vue'], resolve) }
  },
  {
    name: 'zuke',
    path: '/zuke',
    meta: {
      title: '租客-租客列表',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/zuke.vue'], resolve) }
  },
  {
    name: 'jfqr',
    path: '/jfqr',
    meta: {
      title: '租客-确认交房',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/jfqr.vue'], resolve) }
  },
  {
    name: 'payDetail',
    path: '/payDetail',
    meta: {
      title: '租客-订单支付详情',
      loginRequire: true
    },
    component: resolve => { require(['@/views/user/tenant/child/payDetail'], resolve) }
  }
]

export default tenant
